From c252805b9dc828d239c30887f3331f69e7a54dde Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 27 May 2003 15:22:21 +0000 Subject: [PATCH] Don't free description twice when prefer_shortnames. From Ron. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@377 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/csv_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/csv_util.c b/gpsbabel/csv_util.c index 9d2f7f530..2c2cba10f 100644 --- a/gpsbabel/csv_util.c +++ b/gpsbabel/csv_util.c @@ -782,7 +782,7 @@ xcsv_waypt_pr(const waypoint *wpt) if (shortname) xfree(shortname); - if (description) + if (description && description != shortname) xfree(description); index++; -- 2.30.2